package square.data;

import pedrosm.data.ScriptData;
import square.script.ItemScript;

/**
 * 
 * @author Pedro Silva Moreira
 */
public class ItemData extends MapObjectData {

	private String type = "normal";
	private Integer stack = 0;
	private Boolean walkAble = true;
	private ScriptData<ItemScript> script;

	@Override
	public ItemData instance() {
		return (ItemData) super.instance();
	}

	// Get & Set
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getStack() {
		return stack;
	}

	public void setStack(Integer stack) {
		this.stack = stack;
	}

	public Boolean getWalkAble() {
		return walkAble;
	}

	public void setWalkAble(Boolean walkAble) {
		this.walkAble = walkAble;
	}

	public ScriptData<ItemScript> getScript() {
		return script;
	}

	public void setScript(ScriptData<ItemScript> script) {
		this.script = script;
	}
}
